package sights.scenic_spot.service;

import sights.scenic_spot.model.Scenic_spot;
import util.PageModel;

import java.util.List;

public interface SpotService {
    List<Scenic_spot> selectByPage(PageModel pageModel);
    public Scenic_spot selectById(Integer sight_id);
    public List<Scenic_spot>selectByHot(PageModel pageModel,Integer is_hot);
    public long findBySightName(String sight_name);
    public int saveOne(Scenic_spot scenic_spot);
    public int updateOne(Scenic_spot scenic_spot);
    public int deleteOne(Scenic_spot scenic_spot);
}
